import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  list: {
    paddingHorizontal: px2dp(27),
    marginTop: px2dp(39),
  },
  download_list: {
    flexDirection: 'row',
    paddingVertical: px2dp(16),
  },
  img: {
    width: px2dp(128),
    height: px2dp(131),
    borderRadius: px2dp(4),
    backgroundColor: '#ccc',
    marginRight: px2dp(19),
  },
  content: {
    height: px2dp(131),
    justifyContent: 'space-between',
  },
  title: {
    fontSize: px2dp(26),
    color: '#333',
  },
  download_info: {
    flexDirection: 'row',
  },
  progress: {
    alignItems: 'center',
  },
  num: {
    fontSize: px2dp(18),
    color: '#333',
    marginBottom: px2dp(12),
  },
  progress_style: {
    width: px2dp(408),
    height: px2dp(12),
    borderRadius: px2dp(6),
    backgroundColor: '#eee',
    marginBottom: px2dp(12),
  },
  barStyle: {
    backgroundColor: '#F62424',
    height: px2dp(12),
    borderRadius: px2dp(6),
  },
  btn: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-around',
  },
  start: {
    width: px2dp(28),
    height: px2dp(28),
    marginLeft: px2dp(42),
  },
  del: {
    width: px2dp(28),
    height: px2dp(26),
    marginLeft: px2dp(42),
  },
});

export default styles;
